package com.yzf.demo.demo.DesignPattren.SingletonPattern.lazysingleton;

/**
 * Created by 于占峰 on 2020/3/2/002.
 */
public class TestBean implements Runnable {
    @Override
    public void run() {
        LazySingleton lazySingleton = LazySingleton.getInstans();
        System.out.println("线程:" + Thread.currentThread().getName() + lazySingleton);
    }
}
